package deliciouse.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import deliciouse.entity.Messages;

public interface MessagesDao {
	List<Messages> fetchByDate(
			@Param("pageNum")int pageNum,
			@Param("pageSize")int pageSize);
	boolean addMessage(Messages messages);
	int MessageMaxRows();
}
